package com.study.service;

import com.study.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    int deleteByPrimaryKey(int id);

    int save(User materialClass);

    User selectByPrimaryKey(int id);

    User selectByOpenId(String openId);

    List<User> selectForList(Map<String, Object> conditions);

    boolean dataExist(Map<String, Object> conditions);

}
